package cn.springmvc.dao;


import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import cn.springmvc.model.Step1;
import cn.springmvc.model.Step2;

@Repository
public interface Step2Mapper {
    int deleteByPrimaryKey(Integer id);
    int insert(Step2 record);
    int updateByPrimaryKey(Step2 record);
    List<Step2> getStep2ByNianfen(@Param("year")int year);
    Step2 getStep2ByNameAndNianfen(@Param("year")int year,@Param("name")String name);
}